/*
 * Computer.java
 */

package othello.logic.player;

import othello.logic.Coordinates;
import othello.logic.MoveQueue;

/**
 * Class Computer
 * Represents the non-human player. No AI included. It just takes 
 * a random coordinate and sends it as it's next move.
 */

public class Computer extends Player { 
    public Computer(String playerName, int playerNumber) {
        super(playerName, playerNumber);
    }
    
    //returns next move from COM-player
    public Coordinates getNextMove(){
        return new Coordinates((int) (Math.random()*8), (int) (Math.random()*8));
    }

    @Override
    public void setMoveQueue(MoveQueue moveQueue) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
